package cn.sccdlg.mybatisbatchupdate.model;

import java.io.Serializable;

/**
 * 用户信息表实体
 * 表名 sys_user
 * @author rao
 * @date 2020-08-22 22:10:21
 */
public class SysUserEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;
    /** 用户名 */
    private String username;
    /** 密码 */
    private String password;
    /** 真实姓名 */
    private String realName;
    /** 联系电话 */
    private String telephone;
    /** 邮箱 */
    private String mail;

    public SysUserEntity() { }

    public SysUserEntity(Integer id, String username, String password, String realName, String telephone, String mail) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.realName = realName;
        this.telephone = telephone;
        this.mail = mail;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    @Override
    public String toString() {
        return "SysUserEntity{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", realName='" + realName + '\'' +
                ", telephone='" + telephone + '\'' +
                ", mail='" + mail + '\'' +
                '}';
    }
}
